inspector: Pass the drawing context into the recorder
authorBenjamin Otte <otte@redhat.com>
Wed, 30 Nov 2016 17:55:45 +0000 (18:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 5 Dec 2016 14:02:47 +0000 (15:02 +0100)
commite950a5190dcb0dfeebfbb2b1a31273e2d34c77b5
treec3d7ff7c37e988c008b5b6b397db8e1dda99bc77
parent358aca9e20dcd6a84bbbf5933c54a9219fabea92
inspector: Pass the drawing context into the recorder

That way we can capture both the actual changes (clip region) and the
area that was redrawn (render region), which in OpenGL might not be
identical.

Nothing shows the render region yet though...
gtk/gtkwidget.c
gtk/inspector/recorder.c
gtk/inspector/recorder.h
gtk/inspector/renderrecording.c
gtk/inspector/renderrecording.h
gtk/inspector/window.c
gtk/inspector/window.h